* @texttagtable: the object which received the signal.
* @tag: the changed tag.
* @size_changed: whether the change affects the #GtkTextView layout.
+ *
+ * Emitted every time a tag in the #GtkTextTagTable changes.
*/
signals[TAG_CHANGED] =
g_signal_new (I_("tag-changed"),
* GtkTextTagTable::tag-added:
* @texttagtable: the object which received the signal.
* @tag: the added tag.
+ *
+ * Emitted every time a new tag is added in the #GtkTextTagTable.
*/
signals[TAG_ADDED] =
g_signal_new (I_("tag-added"),
* GtkTextTagTable::tag-removed:
* @texttagtable: the object which received the signal.
* @tag: the removed tag.
+ *
+ * Emitted every time a tag is removed from the #GtkTextTagTable.
+ *
+ * The @tag is still valid by the time the signal is emitted, but
+ * it is not associated with a tag table any more.
*/
signals[TAG_REMOVED] =
g_signal_new (I_("tag-removed"),
* GtkTextTagTableForeach:
* @tag: the #GtkTextTag
* @data: (closure): data passed to gtk_text_tag_table_foreach()
+ *
+ * A function used with gtk_text_tag_table_foreach(), to iterate over every
+ * #GtkTextTag inside a #GtkTextTagTable.
*/
typedef void (* GtkTextTagTableForeach) (GtkTextTag *tag, gpointer data);
#define GTK_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_TAG_TABLE, GtkTextTagTable))
#define GTK_IS_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_TAG_TABLE))
+/**
+ * GtkTextTagTable:
+ *
+ * An object holding all the #GtkTextTag instances for a #GtkTextBuffer.
+ */
+
GDK_AVAILABLE_IN_ALL
GType gtk_text_tag_table_get_type (void) G_GNUC_CONST;